| Logiczny url: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-appointment | Wersja: 0.4.0 | |||
| Active z dnia 2026-02-16 | Nazwa: PLeKOKAppointment | |||
Profil zasobu zawierający zakres danych dotyczących rejestracji planowanej wizyty w ramach karty e-KOK
Usages:
You can also check for usages in the FHIR IG Statistics
Opis sposobu prezentacji profilu ujęty jest w specyfikacji standardu FHIR.
Struktura bazuje na Appointment
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Appointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) | |
![]() ![]() |
0..1 | id | Identyfikator logiczny zasobu (wartość nadawana przez system P1) | |
![]() ![]() |
1..1 | Meta | Metadane zasobu | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | id | Wersja zasobu (wartość ustawiana przez system P1) | |
![]() ![]() ![]() |
0..1 | instant | Data aktualizacji zasobu (wartość ustawiana przez system P1) | |
![]() ![]() ![]() |
0..1 | uri | Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu) | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | PLeKOKAppointment Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-appointment | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | |
![]() ![]() |
0..1 | code | Language of the resource content Required Pattern: pl | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() |
1..* | (Complex) | Historia statusów rejestracji. Ostatni status na liście historii statusów musi być tożsamy z aktualnym statusem rejestracji URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/status-history | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | status | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | status Binding: PLeKOKAppointmentStatusVS (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Okres czasu, w którym status był aktualny | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Period | Okres | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
C | 1..1 | dateTime | Data początku okresu Constraints: date-pattern |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
C | 0..1 | dateTime | Data końca okresu Constraints: date-pattern |
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Przyczyna zmiany statusu | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Przyczyna Binding: PLeKOKAppointmentCancelationReasonVS (required) | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Kod | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Opis powodu. Wymagany w przypadku wyboru pozycji 'inny' | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | code | booked (wizyta zarejestrowana) | fulfilled (wizyta odbyła się) | cancelled (wizyta odwołana) | entered-in-error (wizyta błędnie zarejestrowana) | noshow (pacjent nie pojawił się) Binding: PLeKOKAppointmentStatusVS (required) | |
![]() ![]() |
0..1 | CodeableConcept | Przyczyna anulowania rejestracji na wizytę. Wymagany w przypadku ustawienia statusu na 'canceled' Binding: PLeKOKAppointmentCancelationReasonVS (required) | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | Kod | |
![]() ![]() ![]() ![]() |
1..1 | string | Nazwa | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | string | Opis powodu. Wymagany w przypadku wyboru pozycji 'inny' | |
![]() ![]() |
1..1 | CodeableConcept | Kategoria Binding: PLeKOKCardiacCareSeviceCategoryVS (required) | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania rodzajów świadzceń Required Pattern: https://ezdrowie.gov.pl/ekok/fhir/CodeSystem/care-service-category-code-system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | phc | amb | imp | |
![]() ![]() ![]() ![]() |
1..1 | string | Nazwa rodzaju świadczenia | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | instant | Planowana data i godzina rozpoczęcia wizyty | |
![]() ![]() |
1..1 | instant | Planowana data i godzina zakończenia wizyty | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | dateTime | Data rejestracji | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(ServiceRequest) | Referencja do zasobu z danymi zlecenia wystawionego w ramach karty e-KOK | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | string | Referencja do zasobu ServiceRequest | |
![]() ![]() ![]() |
1..1 | uri | Typ zasobu (ServiceRequest) Fixed Value: ServiceRequest | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
2..* | BackboneElement | Participants involved in appointment Slice: Unordered, Closed by value:actor.type | |
![]() ![]() ![]() |
1..1 | BackboneElement | Pacjent | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | Reference(Patient) | Dane pacjenta | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Referencja do zasobu Patient | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Fixed Value: Patient | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Fixed Value: accepted | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | BackboneElement | Placówka | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | Reference(Location) | Person, Location/HealthcareService or Device | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | (Complex) | Kod techniczny miejsca udzielania świadczeń URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/healthcare-location-technical-code | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Kod techniczny miejsca udzielania świadczeń | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Type the reference refers to (e.g. "Patient") Fixed Value: Location | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | Identyfikator miejsce udzielenia świadczenia | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | OID systemu identyfikacji Miejsca Udzielania Świadczeń | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Identyfikator Miejsca Udzielania Świadczeń | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa Miejsca Udzielania Świadczeń | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Fixed Value: accepted | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Appointment.extension:statusHistory.extension:status.value[x] | Base | required | PLeKOKAppointmentStatusVS | 📦0.4.0 | This IG |
| Appointment.extension:statusHistory.extension:statusReason.value[x] | Base | required | PLeKOKAppointmentCancelationReasonVS | 📦0.4.0 | This IG |
| Appointment.status | Base | required | PLeKOKAppointmentStatusVS | 📦0.4.0 | This IG |
| Appointment.cancelationReason | Base | required | PLeKOKAppointmentCancelationReasonVS | 📦0.4.0 | This IG |
| Appointment.serviceCategory | Base | required | PLeKOKCardiacCareSeviceCategoryVS | 📦0.4.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| date-pattern | error | Appointment.extension:statusHistory.extension:period.value[x].start, Appointment.extension:statusHistory.extension:period.value[x].end | Nieprawidłowy format daty (prawidłowy format daty: YYYY-MM-DD) |
$this.toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$')
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Appointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) Constraints: app-2, app-3, app-4 | ||||
![]() ![]() |
Σ | 0..1 | id | Identyfikator logiczny zasobu (wartość nadawana przez system P1) | ||||
![]() ![]() |
Σ | 1..1 | Meta | Metadane zasobu | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 0..1 | id | Wersja zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | Data aktualizacji zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu) | ||||
![]() ![]() ![]() |
Σ | 1..1 | canonical(StructureDefinition) | PLeKOKAppointment Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-appointment | ||||
![]() ![]() |
?!Σ | 0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Required Pattern: pl | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Closed by value:url | |||||
![]() ![]() ![]() |
1..* | (Complex) | Historia statusów rejestracji. Ostatni status na liście historii statusów musi być tożsamy z aktualnym statusem rejestracji URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/status-history | |||||
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | status | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "status" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | status Binding: PLeKOKAppointmentStatusVS (required) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Okres czasu, w którym status był aktualny | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "period" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Period | Okres | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | dateTime | Data początku okresu Constraints: date-pattern | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Data końca okresu Constraints: date-pattern | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Przyczyna zmiany statusu | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "statusReason" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Przyczyna Binding: PLeKOKAppointmentCancelationReasonVS (required) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Opis powodu. Wymagany w przypadku wyboru pozycji 'inny' | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/status-history" | |||||
![]() ![]() |
?!Σ | 1..1 | code | booked (wizyta zarejestrowana) | fulfilled (wizyta odbyła się) | cancelled (wizyta odwołana) | entered-in-error (wizyta błędnie zarejestrowana) | noshow (pacjent nie pojawił się) Binding: PLeKOKAppointmentStatusVS (required) | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Przyczyna anulowania rejestracji na wizytę. Wymagany w przypadku ustawienia statusu na 'canceled' Binding: PLeKOKAppointmentCancelationReasonVS (required) | ||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Opis powodu. Wymagany w przypadku wyboru pozycji 'inny' | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | Kategoria Binding: PLeKOKCardiacCareSeviceCategoryVS (required) | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania rodzajów świadzceń Required Pattern: https://ezdrowie.gov.pl/ekok/fhir/CodeSystem/care-service-category-code-system | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | phc | amb | imp | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa rodzaju świadczenia | ||||
![]() ![]() |
Σ | 1..1 | instant | Planowana data i godzina rozpoczęcia wizyty | ||||
![]() ![]() |
Σ | 1..1 | instant | Planowana data i godzina zakończenia wizyty | ||||
![]() ![]() |
1..1 | dateTime | Data rejestracji | |||||
![]() ![]() |
1..1 | Reference(ServiceRequest) | Referencja do zasobu z danymi zlecenia wystawionego w ramach karty e-KOK | |||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu ServiceRequest | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu (ServiceRequest) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: ServiceRequest | ||||
![]() ![]() |
C | 2..* | BackboneElement | Participants involved in appointment Slice: Unordered, Closed by value:actor.type Constraints: app-1 | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. | ||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Pacjent Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient) | Dane pacjenta | ||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Patient | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted | ||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Placówka Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(Location) | Person, Location/HealthcareService or Device | ||||
![]() ![]() ![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | (Complex) | Kod techniczny miejsca udzielania świadczeń URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/healthcare-location-technical-code | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/healthcare-location-technical-code" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Kod techniczny miejsca udzielania świadczeń | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Location | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | Identifier | Identyfikator miejsce udzielenia świadczenia | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | OID systemu identyfikacji Miejsca Udzielania Świadczeń Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Identyfikator Miejsca Udzielania Świadczeń Example General: 123456 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa Miejsca Udzielania Świadczeń | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Appointment.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Appointment.extension:statusHistory.extension:status.value[x] | Base | required | PLeKOKAppointmentStatusVS | 📦0.4.0 | This IG |
| Appointment.extension:statusHistory.extension:statusReason.value[x] | Base | required | PLeKOKAppointmentCancelationReasonVS | 📦0.4.0 | This IG |
| Appointment.status | Base | required | PLeKOKAppointmentStatusVS | 📦0.4.0 | This IG |
| Appointment.cancelationReason | Base | required | PLeKOKAppointmentCancelationReasonVS | 📦0.4.0 | This IG |
| Appointment.serviceCategory | Base | required | PLeKOKCardiacCareSeviceCategoryVS | 📦0.4.0 | This IG |
| Appointment.basedOn.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:patient.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:patient.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:location.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:location.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| app-1 | error | Appointment.participant, Appointment.participant:patient, Appointment.participant:location | Either the type or actor on the participant SHALL be specified |
type.exists() or actor.exists()
|
| app-2 | error | Appointment | Either start and end are specified, or neither |
start.exists() = end.exists()
|
| app-3 | error | Appointment | Only proposed or cancelled appointments can be missing start/end dates |
(start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist'))
|
| app-4 | error | Appointment | Cancelation reason is only used for appointments that have been cancelled, or no-show |
Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled')
|
| date-pattern | error | Appointment.extension:statusHistory.extension:period.value[x].start, Appointment.extension:statusHistory.extension:period.value[x].end | Nieprawidłowy format daty (prawidłowy format daty: YYYY-MM-DD) |
$this.toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$')
|
| dom-2 | error | Appointment | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Appointment | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Appointment | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Appointment | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Appointment | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Appointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) Constraints: app-2, app-3, app-4 | ||||
![]() ![]() |
Σ | 0..1 | id | Identyfikator logiczny zasobu (wartość nadawana przez system P1) | ||||
![]() ![]() |
Σ | 1..1 | Meta | Metadane zasobu | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 0..1 | id | Wersja zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | Data aktualizacji zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu) | ||||
![]() ![]() ![]() |
Σ | 1..1 | canonical(StructureDefinition) | PLeKOKAppointment Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-appointment | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() |
?!Σ | 0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Required Pattern: pl | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Closed by value:url | |||||
![]() ![]() ![]() |
1..* | (Complex) | Historia statusów rejestracji. Ostatni status na liście historii statusów musi być tożsamy z aktualnym statusem rejestracji URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/status-history | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | status | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "status" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | status Binding: PLeKOKAppointmentStatusVS (required) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Okres czasu, w którym status był aktualny | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "period" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Period | Okres | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | dateTime | Data początku okresu Constraints: date-pattern | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Data końca okresu Constraints: date-pattern | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Przyczyna zmiany statusu | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "statusReason" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Przyczyna Binding: PLeKOKAppointmentCancelationReasonVS (required) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Opis powodu. Wymagany w przypadku wyboru pozycji 'inny' | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/status-history" | |||||
![]() ![]() |
?!Σ | 1..1 | code | booked (wizyta zarejestrowana) | fulfilled (wizyta odbyła się) | cancelled (wizyta odwołana) | entered-in-error (wizyta błędnie zarejestrowana) | noshow (pacjent nie pojawił się) Binding: PLeKOKAppointmentStatusVS (required) | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Przyczyna anulowania rejestracji na wizytę. Wymagany w przypadku ustawienia statusu na 'canceled' Binding: PLeKOKAppointmentCancelationReasonVS (required) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Opis powodu. Wymagany w przypadku wyboru pozycji 'inny' | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | Kategoria Binding: PLeKOKCardiacCareSeviceCategoryVS (required) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania rodzajów świadzceń Required Pattern: https://ezdrowie.gov.pl/ekok/fhir/CodeSystem/care-service-category-code-system | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | phc | amb | imp | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa rodzaju świadczenia | ||||
![]() ![]() |
Σ | 1..1 | instant | Planowana data i godzina rozpoczęcia wizyty | ||||
![]() ![]() |
Σ | 1..1 | instant | Planowana data i godzina zakończenia wizyty | ||||
![]() ![]() |
1..1 | dateTime | Data rejestracji | |||||
![]() ![]() |
1..1 | Reference(ServiceRequest) | Referencja do zasobu z danymi zlecenia wystawionego w ramach karty e-KOK | |||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu ServiceRequest | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu (ServiceRequest) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: ServiceRequest | ||||
![]() ![]() |
C | 2..* | BackboneElement | Participants involved in appointment Slice: Unordered, Closed by value:actor.type Constraints: app-1 | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Role of participant in the appointment Binding: ParticipantType (extensible): Role of participant in encounter. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location) | Person, Location/HealthcareService or Device | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | required | optional | information-only Binding: ParticipantRequired (required): Is the Participant required to attend the appointment. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. | ||||
![]() ![]() ![]() ![]() |
0..1 | Period | Participation period of the actor | |||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Pacjent Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient) | Dane pacjenta | ||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Patient | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted | ||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Placówka Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(Location) | Person, Location/HealthcareService or Device | ||||
![]() ![]() ![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | (Complex) | Kod techniczny miejsca udzielania świadczeń URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/healthcare-location-technical-code | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/healthcare-location-technical-code" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Kod techniczny miejsca udzielania świadczeń | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Location | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | Identifier | Identyfikator miejsce udzielenia świadczenia | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | OID systemu identyfikacji Miejsca Udzielania Świadczeń Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Identyfikator Miejsca Udzielania Świadczeń Example General: 123456 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa Miejsca Udzielania Świadczeń | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Appointment.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Appointment.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Appointment.extension:statusHistory.extension:status.value[x] | Base | required | PLeKOKAppointmentStatusVS | 📦0.4.0 | This IG |
| Appointment.extension:statusHistory.extension:statusReason.value[x] | Base | required | PLeKOKAppointmentCancelationReasonVS | 📦0.4.0 | This IG |
| Appointment.status | Base | required | PLeKOKAppointmentStatusVS | 📦0.4.0 | This IG |
| Appointment.cancelationReason | Base | required | PLeKOKAppointmentCancelationReasonVS | 📦0.4.0 | This IG |
| Appointment.serviceCategory | Base | required | PLeKOKCardiacCareSeviceCategoryVS | 📦0.4.0 | This IG |
| Appointment.basedOn.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant.type | Base | extensible | Participant type | 📍4.0.1 | FHIR Std. |
| Appointment.participant.required | Base | required | ParticipantRequired | 📍4.0.1 | FHIR Std. |
| Appointment.participant.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:patient.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:patient.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:location.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:location.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| app-1 | error | Appointment.participant, Appointment.participant:patient, Appointment.participant:location | Either the type or actor on the participant SHALL be specified |
type.exists() or actor.exists()
|
| app-2 | error | Appointment | Either start and end are specified, or neither |
start.exists() = end.exists()
|
| app-3 | error | Appointment | Only proposed or cancelled appointments can be missing start/end dates |
(start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist'))
|
| app-4 | error | Appointment | Cancelation reason is only used for appointments that have been cancelled, or no-show |
Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled')
|
| date-pattern | error | Appointment.extension:statusHistory.extension:period.value[x].start, Appointment.extension:statusHistory.extension:period.value[x].end | Nieprawidłowy format daty (prawidłowy format daty: YYYY-MM-DD) |
$this.toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$')
|
| dom-2 | error | Appointment | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Appointment | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Appointment | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Appointment | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Appointment | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Struktura bazuje na Appointment
Summary
Mandatory: 29 elements(8 nested mandatory elements)
Fixed: 6 elements
Prohibited: 53 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Widok Differential
Struktura bazuje na Appointment
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Appointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) | |
![]() ![]() |
0..1 | id | Identyfikator logiczny zasobu (wartość nadawana przez system P1) | |
![]() ![]() |
1..1 | Meta | Metadane zasobu | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | id | Wersja zasobu (wartość ustawiana przez system P1) | |
![]() ![]() ![]() |
0..1 | instant | Data aktualizacji zasobu (wartość ustawiana przez system P1) | |
![]() ![]() ![]() |
0..1 | uri | Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu) | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | PLeKOKAppointment Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-appointment | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | |
![]() ![]() |
0..1 | code | Language of the resource content Required Pattern: pl | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Closed by value:url | |
![]() ![]() ![]() |
1..* | (Complex) | Historia statusów rejestracji. Ostatni status na liście historii statusów musi być tożsamy z aktualnym statusem rejestracji URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/status-history | |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | status | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | status Binding: PLeKOKAppointmentStatusVS (required) | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Okres czasu, w którym status był aktualny | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Period | Okres | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
C | 1..1 | dateTime | Data początku okresu Constraints: date-pattern |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
C | 0..1 | dateTime | Data końca okresu Constraints: date-pattern |
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Przyczyna zmiany statusu | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Przyczyna Binding: PLeKOKAppointmentCancelationReasonVS (required) | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | Kod | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Opis powodu. Wymagany w przypadku wyboru pozycji 'inny' | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | code | booked (wizyta zarejestrowana) | fulfilled (wizyta odbyła się) | cancelled (wizyta odwołana) | entered-in-error (wizyta błędnie zarejestrowana) | noshow (pacjent nie pojawił się) Binding: PLeKOKAppointmentStatusVS (required) | |
![]() ![]() |
0..1 | CodeableConcept | Przyczyna anulowania rejestracji na wizytę. Wymagany w przypadku ustawienia statusu na 'canceled' Binding: PLeKOKAppointmentCancelationReasonVS (required) | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | Kod | |
![]() ![]() ![]() ![]() |
1..1 | string | Nazwa | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | string | Opis powodu. Wymagany w przypadku wyboru pozycji 'inny' | |
![]() ![]() |
1..1 | CodeableConcept | Kategoria Binding: PLeKOKCardiacCareSeviceCategoryVS (required) | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
1..1 | uri | System kodowania rodzajów świadzceń Required Pattern: https://ezdrowie.gov.pl/ekok/fhir/CodeSystem/care-service-category-code-system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | phc | amb | imp | |
![]() ![]() ![]() ![]() |
1..1 | string | Nazwa rodzaju świadczenia | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | instant | Planowana data i godzina rozpoczęcia wizyty | |
![]() ![]() |
1..1 | instant | Planowana data i godzina zakończenia wizyty | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | dateTime | Data rejestracji | |
![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
![]() ![]() |
1..1 | Reference(ServiceRequest) | Referencja do zasobu z danymi zlecenia wystawionego w ramach karty e-KOK | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | string | Referencja do zasobu ServiceRequest | |
![]() ![]() ![]() |
1..1 | uri | Typ zasobu (ServiceRequest) Fixed Value: ServiceRequest | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
2..* | BackboneElement | Participants involved in appointment Slice: Unordered, Closed by value:actor.type | |
![]() ![]() ![]() |
1..1 | BackboneElement | Pacjent | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | Reference(Patient) | Dane pacjenta | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Referencja do zasobu Patient | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Fixed Value: Patient | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Fixed Value: accepted | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | BackboneElement | Placówka | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | Reference(Location) | Person, Location/HealthcareService or Device | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..* | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | (Complex) | Kod techniczny miejsca udzielania świadczeń URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/healthcare-location-technical-code | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Kod techniczny miejsca udzielania świadczeń | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Type the reference refers to (e.g. "Patient") Fixed Value: Location | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | Identyfikator miejsce udzielenia świadczenia | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | OID systemu identyfikacji Miejsca Udzielania Świadczeń | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Identyfikator Miejsca Udzielania Świadczeń | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Nazwa Miejsca Udzielania Świadczeń | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | accepted | declined | tentative | needs-action Fixed Value: accepted | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() |
0..0 | |||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Appointment.extension:statusHistory.extension:status.value[x] | Base | required | PLeKOKAppointmentStatusVS | 📦0.4.0 | This IG |
| Appointment.extension:statusHistory.extension:statusReason.value[x] | Base | required | PLeKOKAppointmentCancelationReasonVS | 📦0.4.0 | This IG |
| Appointment.status | Base | required | PLeKOKAppointmentStatusVS | 📦0.4.0 | This IG |
| Appointment.cancelationReason | Base | required | PLeKOKAppointmentCancelationReasonVS | 📦0.4.0 | This IG |
| Appointment.serviceCategory | Base | required | PLeKOKCardiacCareSeviceCategoryVS | 📦0.4.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| date-pattern | error | Appointment.extension:statusHistory.extension:period.value[x].start, Appointment.extension:statusHistory.extension:period.value[x].end | Nieprawidłowy format daty (prawidłowy format daty: YYYY-MM-DD) |
$this.toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$')
|
Widok kluczowych elementów
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Appointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) Constraints: app-2, app-3, app-4 | ||||
![]() ![]() |
Σ | 0..1 | id | Identyfikator logiczny zasobu (wartość nadawana przez system P1) | ||||
![]() ![]() |
Σ | 1..1 | Meta | Metadane zasobu | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 0..1 | id | Wersja zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | Data aktualizacji zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu) | ||||
![]() ![]() ![]() |
Σ | 1..1 | canonical(StructureDefinition) | PLeKOKAppointment Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-appointment | ||||
![]() ![]() |
?!Σ | 0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Required Pattern: pl | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Closed by value:url | |||||
![]() ![]() ![]() |
1..* | (Complex) | Historia statusów rejestracji. Ostatni status na liście historii statusów musi być tożsamy z aktualnym statusem rejestracji URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/status-history | |||||
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | status | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "status" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | status Binding: PLeKOKAppointmentStatusVS (required) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Okres czasu, w którym status był aktualny | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "period" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Period | Okres | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | dateTime | Data początku okresu Constraints: date-pattern | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Data końca okresu Constraints: date-pattern | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Przyczyna zmiany statusu | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "statusReason" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Przyczyna Binding: PLeKOKAppointmentCancelationReasonVS (required) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Opis powodu. Wymagany w przypadku wyboru pozycji 'inny' | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/status-history" | |||||
![]() ![]() |
?!Σ | 1..1 | code | booked (wizyta zarejestrowana) | fulfilled (wizyta odbyła się) | cancelled (wizyta odwołana) | entered-in-error (wizyta błędnie zarejestrowana) | noshow (pacjent nie pojawił się) Binding: PLeKOKAppointmentStatusVS (required) | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Przyczyna anulowania rejestracji na wizytę. Wymagany w przypadku ustawienia statusu na 'canceled' Binding: PLeKOKAppointmentCancelationReasonVS (required) | ||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Opis powodu. Wymagany w przypadku wyboru pozycji 'inny' | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | Kategoria Binding: PLeKOKCardiacCareSeviceCategoryVS (required) | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania rodzajów świadzceń Required Pattern: https://ezdrowie.gov.pl/ekok/fhir/CodeSystem/care-service-category-code-system | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | phc | amb | imp | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa rodzaju świadczenia | ||||
![]() ![]() |
Σ | 1..1 | instant | Planowana data i godzina rozpoczęcia wizyty | ||||
![]() ![]() |
Σ | 1..1 | instant | Planowana data i godzina zakończenia wizyty | ||||
![]() ![]() |
1..1 | dateTime | Data rejestracji | |||||
![]() ![]() |
1..1 | Reference(ServiceRequest) | Referencja do zasobu z danymi zlecenia wystawionego w ramach karty e-KOK | |||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu ServiceRequest | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu (ServiceRequest) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: ServiceRequest | ||||
![]() ![]() |
C | 2..* | BackboneElement | Participants involved in appointment Slice: Unordered, Closed by value:actor.type Constraints: app-1 | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. | ||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Pacjent Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient) | Dane pacjenta | ||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Patient | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted | ||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Placówka Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(Location) | Person, Location/HealthcareService or Device | ||||
![]() ![]() ![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | (Complex) | Kod techniczny miejsca udzielania świadczeń URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/healthcare-location-technical-code | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/healthcare-location-technical-code" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Kod techniczny miejsca udzielania świadczeń | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Location | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | Identifier | Identyfikator miejsce udzielenia świadczenia | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | OID systemu identyfikacji Miejsca Udzielania Świadczeń Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Identyfikator Miejsca Udzielania Świadczeń Example General: 123456 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa Miejsca Udzielania Świadczeń | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Appointment.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Appointment.extension:statusHistory.extension:status.value[x] | Base | required | PLeKOKAppointmentStatusVS | 📦0.4.0 | This IG |
| Appointment.extension:statusHistory.extension:statusReason.value[x] | Base | required | PLeKOKAppointmentCancelationReasonVS | 📦0.4.0 | This IG |
| Appointment.status | Base | required | PLeKOKAppointmentStatusVS | 📦0.4.0 | This IG |
| Appointment.cancelationReason | Base | required | PLeKOKAppointmentCancelationReasonVS | 📦0.4.0 | This IG |
| Appointment.serviceCategory | Base | required | PLeKOKCardiacCareSeviceCategoryVS | 📦0.4.0 | This IG |
| Appointment.basedOn.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:patient.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:patient.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:location.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:location.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| app-1 | error | Appointment.participant, Appointment.participant:patient, Appointment.participant:location | Either the type or actor on the participant SHALL be specified |
type.exists() or actor.exists()
|
| app-2 | error | Appointment | Either start and end are specified, or neither |
start.exists() = end.exists()
|
| app-3 | error | Appointment | Only proposed or cancelled appointments can be missing start/end dates |
(start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist'))
|
| app-4 | error | Appointment | Cancelation reason is only used for appointments that have been cancelled, or no-show |
Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled')
|
| date-pattern | error | Appointment.extension:statusHistory.extension:period.value[x].start, Appointment.extension:statusHistory.extension:period.value[x].end | Nieprawidłowy format daty (prawidłowy format daty: YYYY-MM-DD) |
$this.toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$')
|
| dom-2 | error | Appointment | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Appointment | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Appointment | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Appointment | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Appointment | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Widok Snapshot
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Appointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) Constraints: app-2, app-3, app-4 | ||||
![]() ![]() |
Σ | 0..1 | id | Identyfikator logiczny zasobu (wartość nadawana przez system P1) | ||||
![]() ![]() |
Σ | 1..1 | Meta | Metadane zasobu | ||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 0..1 | id | Wersja zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | Data aktualizacji zasobu (wartość ustawiana przez system P1) | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identyfikator źródła zasobu (wartość ustawiana przez system, przy rejestracji lub aktualizacji zasobu) | ||||
![]() ![]() ![]() |
Σ | 1..1 | canonical(StructureDefinition) | PLeKOKAppointment Fixed Value: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/pl-ekok-appointment | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() |
?!Σ | 0..1 | uri | Wersja systemu (wartość ustawiana przez system P1) | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Required Pattern: pl | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Closed by value:url | |||||
![]() ![]() ![]() |
1..* | (Complex) | Historia statusów rejestracji. Ostatni status na liście historii statusów musi być tożsamy z aktualnym statusem rejestracji URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/status-history | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | status | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "status" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | code | status Binding: PLeKOKAppointmentStatusVS (required) | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Okres czasu, w którym status był aktualny | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "period" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Period | Okres | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | dateTime | Data początku okresu Constraints: date-pattern | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | dateTime | Data końca okresu Constraints: date-pattern | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Przyczyna zmiany statusu | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "statusReason" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Przyczyna Binding: PLeKOKAppointmentCancelationReasonVS (required) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Opis powodu. Wymagany w przypadku wyboru pozycji 'inny' | ||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/status-history" | |||||
![]() ![]() |
?!Σ | 1..1 | code | booked (wizyta zarejestrowana) | fulfilled (wizyta odbyła się) | cancelled (wizyta odwołana) | entered-in-error (wizyta błędnie zarejestrowana) | noshow (pacjent nie pojawił się) Binding: PLeKOKAppointmentStatusVS (required) | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Przyczyna anulowania rejestracji na wizytę. Wymagany w przypadku ustawienia statusu na 'canceled' Binding: PLeKOKAppointmentCancelationReasonVS (required) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | Kod | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Opis powodu. Wymagany w przypadku wyboru pozycji 'inny' | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | Kategoria Binding: PLeKOKCardiacCareSeviceCategoryVS (required) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | System kodowania rodzajów świadzceń Required Pattern: https://ezdrowie.gov.pl/ekok/fhir/CodeSystem/care-service-category-code-system | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | phc | amb | imp | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa rodzaju świadczenia | ||||
![]() ![]() |
Σ | 1..1 | instant | Planowana data i godzina rozpoczęcia wizyty | ||||
![]() ![]() |
Σ | 1..1 | instant | Planowana data i godzina zakończenia wizyty | ||||
![]() ![]() |
1..1 | dateTime | Data rejestracji | |||||
![]() ![]() |
1..1 | Reference(ServiceRequest) | Referencja do zasobu z danymi zlecenia wystawionego w ramach karty e-KOK | |||||
![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu ServiceRequest | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu (ServiceRequest) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: ServiceRequest | ||||
![]() ![]() |
C | 2..* | BackboneElement | Participants involved in appointment Slice: Unordered, Closed by value:actor.type Constraints: app-1 | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Role of participant in the appointment Binding: ParticipantType (extensible): Role of participant in encounter. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location) | Person, Location/HealthcareService or Device | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | required | optional | information-only Binding: ParticipantRequired (required): Is the Participant required to attend the appointment. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. | ||||
![]() ![]() ![]() ![]() |
0..1 | Period | Participation period of the actor | |||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Pacjent Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(Patient) | Dane pacjenta | ||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 1..1 | string | Referencja do zasobu Patient | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Typ zasobu z danymi pacjenta (Patient) Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Patient | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted | ||||
![]() ![]() ![]() |
C | 1..1 | BackboneElement | Placówka Constraints: app-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(Location) | Person, Location/HealthcareService or Device | ||||
![]() ![]() ![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | (Complex) | Kod techniczny miejsca udzielania świadczeń URL: https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/healthcare-location-technical-code | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://ezdrowie.gov.pl/ekok/fhir/StructureDefinition/healthcare-location-technical-code" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Kod techniczny miejsca udzielania świadczeń | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). Fixed Value: Location | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | Identifier | Identyfikator miejsce udzielenia świadczenia | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | OID systemu identyfikacji Miejsca Udzielania Świadczeń Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Identyfikator Miejsca Udzielania Świadczeń Example General: 123456 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | string | Nazwa Miejsca Udzielania Świadczeń | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. Fixed Value: accepted | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Appointment.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Appointment.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Appointment.extension:statusHistory.extension:status.value[x] | Base | required | PLeKOKAppointmentStatusVS | 📦0.4.0 | This IG |
| Appointment.extension:statusHistory.extension:statusReason.value[x] | Base | required | PLeKOKAppointmentCancelationReasonVS | 📦0.4.0 | This IG |
| Appointment.status | Base | required | PLeKOKAppointmentStatusVS | 📦0.4.0 | This IG |
| Appointment.cancelationReason | Base | required | PLeKOKAppointmentCancelationReasonVS | 📦0.4.0 | This IG |
| Appointment.serviceCategory | Base | required | PLeKOKCardiacCareSeviceCategoryVS | 📦0.4.0 | This IG |
| Appointment.basedOn.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant.type | Base | extensible | Participant type | 📍4.0.1 | FHIR Std. |
| Appointment.participant.required | Base | required | ParticipantRequired | 📍4.0.1 | FHIR Std. |
| Appointment.participant.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:patient.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:patient.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Appointment.participant:location.actor.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Appointment.participant:location.status | Base | required | ParticipationStatus | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| app-1 | error | Appointment.participant, Appointment.participant:patient, Appointment.participant:location | Either the type or actor on the participant SHALL be specified |
type.exists() or actor.exists()
|
| app-2 | error | Appointment | Either start and end are specified, or neither |
start.exists() = end.exists()
|
| app-3 | error | Appointment | Only proposed or cancelled appointments can be missing start/end dates |
(start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist'))
|
| app-4 | error | Appointment | Cancelation reason is only used for appointments that have been cancelled, or no-show |
Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled')
|
| date-pattern | error | Appointment.extension:statusHistory.extension:period.value[x].start, Appointment.extension:statusHistory.extension:period.value[x].end | Nieprawidłowy format daty (prawidłowy format daty: YYYY-MM-DD) |
$this.toString().matches('^\\d{4}-((0[0-9])|(1[012]))-(([012][0-9])|3[01])$')
|
| dom-2 | error | Appointment | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Appointment | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Appointment | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Appointment | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Appointment | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Struktura bazuje na Appointment
Summary
Mandatory: 29 elements(8 nested mandatory elements)
Fixed: 6 elements
Prohibited: 53 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Inne struktury profilu: CSV, Excel, Schematron